<?php include(ML_TPL_ROOTPATH.'_tpl_htmlheader.php'); ?>
  <body>
<?php include(ML_TPL_ROOTPATH.'_tpl_top.php'); ?>
    
    <div class="container">


<div class="row">
    <div class="span2">
        <div style="background-color: #dedede;text-align: center;padding:10px;margin-bottom: 10px;"><h4>个人信息设置</h4></div>
        <div style="background-color: #dedede;text-align: center;padding:10px;margin-bottom: 10px;"><a href="/settings/index/"><h4>修改基本信息</h4></a></div>
        <div style="background-color: #dedede;text-align: center;padding:10px;margin-bottom: 10px;"><a href=""><h4>修改头像</h4></a></div>
        <div style="background-color: #dedede;text-align: center;padding:10px;margin-bottom: 10px;"><a href=""><h4>修改头像</h4></a></div>
    </div>
    <div class="span10">
        <div class="ml_mainbody_title"><h4>头像设置</h4></div>
        <div id="avt_uploader" style="padding:15px">
            <table style="width:100%"><tbody>
                <tr>
                    <form enctype="multipart/form-data" id="avt_upload_form" action="/image/upload.php" method="post" target="md_pub_img1_iframe">
                    <td style="width:80%;text-align: center">
                        <div style="padding: 80px;">
                            <input type="file" name="file" id="avt_upload_file"/>
                        </div>
                        <div style="padding: 10px">
                            <a href="javascript:;" class="btn btn-large" id="avt_upload_btn">下&nbsp;&nbsp;一&nbsp;&nbsp;步</a>
                        </div>
                    </td>
                    </form>  
                    <td style="text-align: center;" class="ml_left_sepline">
                        <img src="http://www.meila.com/image/show_portrait.php?uid=1&size=mid" style="margin:10px;"><br/>
                        当前头像
                    </td>
                </tr>
            </tbody></table>  
        </div>
        <div id="avt_resize" style="display:none;padding: 10px">
            <table style="width:100%"><tbody>
                <tr>
                    <td style="width:70%;text-align: center">
                        <img src="" id="avt_crop_show"/><br/>
                        <a href="javascript:;" class="btn btn-large" id="avt_crop_ok">保&nbsp;&nbsp;&nbsp;&nbsp;存</a>
                    </td>
                    <td style="text-align: center;border-left: 1px solid #000000">
                        <div style="width:100px;height:100px;overflow:hidden;margin-left:5px;"><img src="" id="avt_crop_preview" /></div>
                        <input type="hidden" id="avt_crop_valX"/>
                        <input type="hidden" id="avt_crop_valY"/>
                        <input type="hidden" id="avt_crop_valW"/>
                        <input type="hidden" id="avt_crop_valTmpname"/>
                    </td>
                </tr>
            </tbody></table>  
        </div>
    </div>
</div>


</div><!--container-->

<?php include(ML_TPL_ROOTPATH.'_tpl_footer_js.php'); ?>
  </body>
</html>